<template>
  <div class="message-box">
    <div v-html="list" v-for="item in list" :key="item.img"></div>
  </div>
</template>

<script>
import axios from "axios";
export default {

  data() {
    return {
      list: [],
    };
  },

  created() {
    var that = this;
    var url = "https://m.maizuo.com/gateway?actId=ElzMZU125260";
    axios
      .get(url, {
        headers: {
          "X-Host": "mall.act.static-page.info",
        },
      })
      .then(function (res) {
        console.log(res.data.data.data);

        that.list = res.data.data.data.content;
      })
      .catch(function (error) {
        console.log(error);
      });
  },
};
</script>

<style scoped>
</style>